/*    */ package eos.moe.dragoncore.mixins;
/*    */ 
/*    */ import eos.moe.dragoncore.ija;
/*    */ import eos.moe.dragoncore.xea;
/*    */ import net.minecraft.client.renderer.entity.Render;
/*    */ import net.minecraft.entity.Entity;
/*    */ import net.minecraft.entity.EntityLivingBase;
/*    */ import org.spongepowered.asm.mixin.Mixin;
/*    */ import org.spongepowered.asm.mixin.injection.At;
/*    */ import org.spongepowered.asm.mixin.injection.Inject;
/*    */ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ @Mixin({Render.class})
/*    */ public class MixinRender
/*    */ {
/*    */   @Inject(method = {"renderShadow"}, at = {@At("HEAD")}, cancellable = true)
/*    */   public void mixin_shouldRender(Entity entity, double d1, double d2, double d3, float f1, float f2, CallbackInfo callbackInfo) {
/* 24 */     if (entity instanceof EntityLivingBase) {
/* 25 */       ija ija = xea.m.v((EntityLivingBase)entity);
/* 26 */       if (ija != null && !ija.c())
/* 27 */         callbackInfo.cancel(); 
/*    */     } 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\mixins\MixinRender.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */